<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>派单员商务工单系统</title>
    <script src="vue.js"></script>
    <script src="vue-href.js"></script>
    <link rel="stylesheet" href="list.css">
</head>
<body>
<form id="main" v-cloak>
    <div class="top-container">
        商务工单系统
        <div class="exit">
            <a href="#"><img src="/img/箭头.png" width="65px" height="65px" alt="退出"></a>
        </div>
    </div>

    <ul>
        <li v-for="list in lists">
            <img :src="list.img" />
            <a :href="list.url" onclick="window.open(list.url)">{{list.name}}</a>
        </li>
    </ul>

</form>
<script>
    var list = new Vue({
        el: '#main',
        data: {
            searchString: "",
            lists: [
                {
                    "name": "后台管理",
                    "url": "#",
                    "img": "/img/小盒.png"
                },

                {
                    "name": "活动报价",
                    "url": "#",
                    "img": "/img/小包.png"
                },
                {
                    "name": "产品报价",
                    "url": "#",
                    "img": "/img/小包.png"
                },
                {
                    "name": "查询工单",
                    "url": "#",
                    "img": "/img/小盒.png"
                }
                   ]
        }
    })
</script>
</body>
</html>